import http from '@/uitls/http.js'
export const getDetails = (id) =>{
	return http._post(`rental/house/detail/${id}`,{},true)
}

export const  allComments =(params)=>{
	return http._post(`rental/house/allComments`,params,true)
}

export const  favoriteAdd =(id)=>{
	return http._post(`rental/house/favorite/add/${id}`,{},true)
}

export const  favoriteCancel =(id)=>{
	return http._post(`rental/house/favorite/cancel/${id}`,{},true)
}

export const  check =(id)=>{
	return http._post(`rental/house/appointment/check/${id}`,{},true)
}

export const  getConfig =()=>{
	return http._post(`rental/common/getConfig`,{},true)
}